package com.fanqiechaodan.prototype.copy.shollow;

import lombok.Data;

/**
 * @author fanqiechaodan
 * @Classname Person
 * @Description
 */
@Data
public class Person implements Cloneable{

    private String name;

    private int age;

    private Address address;

    public Person(String name, int age, Address address) {
        this.name = name;
        this.age = age;
        this.address = address;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
